﻿@{
    ViewBag.Title = "Delete";
}

<html> 
<head> 
<meta name="viewport" content="width=device-width" /> 
<title>Delete</title> 
</head> 
<body> 
<div> 
<h1>Confirme la eliminación</h1> 

<form method="post" action="~/Producto/Borrar/@Model.id"> 
<input type="hidden" name="id" value="@Model.id" /> 
<label> 
<span>Nombre</span> 
<span><input type="text" name="nombre" value="@Model.nombre" /></span> 
</label> 
<label> 
<span>Modelo</span> 
<span><input type="text" name="modelo" value="@Model.modelo"/></span> 
</label> 
<span>Marca</span> 
<span><input type="text" name="marca" value="@Model.marca" /></span> 

<label> 
<span>Precio</span> 
<span><input type="text" name="precio" value="@Model.precio" /></span> 
</label> 
<label> 
<span>Descripcion</span> 
<span><input type="text" name="descripcion" value="@Model.descripcion" /></span> 
</label> 
<label> 
<span>Id</span> 
<span><input type="text" name="id" value="@Model.id" /></span> 
</label> 

<input type="submit" value="Eliminar"/>

</form> 

</div> 
</body> 
</html>


